Release 10.1A: OpenEdge Development:
Progress 4GL Reference
BASIC-LOGGING attribute
Turns on
Data type: LOGICAL Access: Readable/Writeable Applies to: Query object handleQryInfologging for an individual query.Progress does not provide
QryInfologging for individual queries at logging level 2 (Basic), by default. You must use the BASIC-LOGGING attribute to turn on logging for an individual query when the logging level of theQryInfolog entry type is set to level 2 (Basic). If the logging level of theQryInfolog entry type is level 3 (Verbose) or higher, then Progress ignores any BASIC-LOGGING attribute setting and logs query information for all queries.To set the logging level of the
QryInfolog entry type, use the LOG-ENTRY-TYPES attribute or the Log Entry Types (-logentrytypes) startup parameter with the logging level option.To turn on logging for an individual query when the logging level is set to 2 (Basic), you must set this attribute to
TRUEbefore a query starts. For a dynamically opened query, this is before the QUERY-PREPARE( ) method. For a statically opened query, this is before the OPEN QUERY statement. If you set this attribute toTRUEafter a query starts, Progress does not provide logging for that query.To turn off logging for an individual query when the logging level is set to 2 (Basic), you must set this attribute to
FALSE. If you set this attribute toFALSEbefore a query completes, Progress does not write query statistics to the log.Whenever you turn on or turn off logging for an individual query using this attribute, Progress writes a log entry to the log file indicating the query ID, the query object handle, and the name of the query.
For more information about the Log Entry Types (
-logentrytypes) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference .For more information about query logging, see OpenEdge Development: Debugging and Troubleshooting .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |